package top.atluofu.luofuecommerce.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.config.annotation.web.http.EnableSpringHttpSession;

/**
 * @ClassName: LuoFuMailProductApplication
 * @description: 启动类
 * @author: 有罗敷的马同学
 * @datetime: 2022Year-10Month-26Day-22:08
 * @Version: 1.0
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableSpringHttpSession
@EnableCaching
@EnableFeignClients(basePackages = {"top.atluofu.luofuecommerce.product.feign"})
@MapperScan("top.atluofu.luofuecommerce.product.dao")
public class LuoFuMailProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(LuoFuMailProductApplication.class, args);
    }
}
